]> dgit.raspbian.org Git - gnome-shell.git/commit
gdm/util: Do not run dispose on user verifier
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 17 Sep 2025 17:06:55 +0000 (19:06 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Feb 2026 16:09:29 +0000 (17:09 +0100)
commit00df421871ceb5d2f380408447d25a1bd2e632d2
tree7facc6907725a7b05f6bfa217f80cf79ecf27e44
parent704f90b68de8000387a2cc38f25fc83e08b66f4f
gdm/util: Do not run dispose on user verifier

This is not a good habit anywhere and especially in JS code, I assume
the rationale for this was to ensure that cached instances of the proxy
were cleared, but this did not work properly (as it happened on
finalize), and it would still require [1].

So let's just avoid this and assume that the getters just return what we
expect.

[1] https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/321

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3885>
(cherry picked from commit 7029cf41f1265a50009c237045aa36d73be1165b)
js/gdm/util.js